#include "window.h"
#include "ui_window.h"

Window::Window(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::Window)
{
    ui->setupUi(this);
    engine = new Engine(this);
    setCentralWidget(engine);
    setFocusPolicy(Qt::StrongFocus);
    setWindowTitle("Moteur Graphique");

//    connect(engine, SIGNAL(newCamera(Camera*)), this, SLOT(CameraAddedInScene(Camera*)));
//    connect(engine, SIGNAL(newObject(Object3D*)), this, SLOT(Object3DAddedInScene(Object3D*)));

}

Window::~Window()
{
    delete engine;
    delete ui;
}

